#pragma once
#include "InterFaceBridge.h"
#include <QString>

//电脑产品;
class ProductComputer : public InterFaceProduct
{
public:
    ProductComputer(std::shared_ptr<InterFaceCompany> pCompany,
        std::shared_ptr<InterFaceComputer> pComputer,
        std::shared_ptr<InterFacePrice> pPrice);
    ~ProductComputer();


    // 通过 InterFaceProduct 继承
    void ProductSale() override;

private:

    //哪个公司的产品;
    std::shared_ptr<InterFaceCompany> m_pCompany;
    //那种电脑产品;
    std::shared_ptr<InterFaceComputer> m_pComputer;
    //那种折扣价格;
    std::shared_ptr<InterFacePrice> m_pPrice;

};

